package com.lr;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

import com.lr.app.config.ExStorageConfig;
import com.lr.app.config.ExcelConfig;
import com.ws.commons.algorithm.SequenceGenerate;

/**
 * Created by vn0wr5w on 9/13/2018.
 */
@MapperScan("com.lr.cirular.interfaces.dao")
@ComponentScan(basePackages = { "com.lr.cirular.interfaces" })
@EnableConfigurationProperties({ ExStorageConfig.class, ExcelConfig.class, SequenceGenerate.class })
@EnableCaching
@SpringBootApplication
public class LrApplication {

	public static void main(String[] args) {
		SpringApplication.run(LrApplication.class, args);
	}
}
